#ifndef PLUGINMETADATA_H
#define PLUGINMETADATA_H

#include <QMetaType>
#include <QVariant>
#include <QString>
#include <QSharedPointer>

/**
 * @brief The PluginMetaData class 插件间通信消息结构体
 */
struct PluginMetaData
{
    QString strSource;
    QString strDest;
    QString strMsg;
    int iType;
    QSharedPointer<QHash<QString, QString>> spMapHeader;

    PluginMetaData(): iType(0) {}
};

Q_DECLARE_METATYPE(PluginMetaData);
#endif
